viewport: Remove unused frame
authornana-4 <hnmaigo@gmail.com>
Sat, 22 Aug 2020 00:30:28 +0000 (09:30 +0900)
committernana-4 <hnmaigo@gmail.com>
Sat, 22 Aug 2020 00:30:28 +0000 (09:30 +0900)
We've always removed this with Adwaita.

gtk/gtkviewport.c
gtk/theme/Adwaita/_common.scss

index 1348b2c5e0d7a6b0123ec0cf4eac5edd834e9a9e..412ba3b378e93f53a0867c977918b3f7511f5c52 100644 (file)
@@ -475,7 +475,6 @@ gtk_viewport_init (GtkViewport *viewport)
   viewport->hadjustment = NULL;
   viewport->vadjustment = NULL;
 
-  gtk_widget_add_css_class (widget, "frame");
   viewport_set_adjustment (viewport, GTK_ORIENTATION_HORIZONTAL, NULL);
   viewport_set_adjustment (viewport, GTK_ORIENTATION_VERTICAL, NULL);
 }
index 2e4d0e6c1c4fc1679d1eca456f4003d9a1c0aa96..a4783877f183b5b6120ab664d424aaeb0ff5e3f5 100644 (file)
@@ -3020,10 +3020,6 @@ actionbar > revealer >  box {
 }
 
 scrolledwindow {
-  > viewport.frame { // avoid double borders when viewport inside scrolled window
-    border-style: none;
-  }
-
   // This is used when content is touch-dragged past boundaries.
   // draws a box on top of the content, the size changes programmatically.
   > overshoot {